# include <stdio.h>
int main()
{
	int a,b;
	a=getchar();
	b=getchar();
	printf("%d%d\n",a,b);
	putchar(a);
	putchar(b);
	putchar('\n');
	return 0;
}


